package com.job.ming.Zuoye0711.oop071102;

/**
 * @author Yangmingyu
 * @version 1.0
 * @since 2022-07-11 16:47:48
 */
public class Testfood {
    public static void main(String[] args) {
        //多态
        Food food=new Bread();
        food.smell();
        food.taste();
        food.eat();
    }
}